﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace PlanAPI.model
{
    public class PLBasShopColorRateModel
    {
        #region Entity

        public class Entity
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("年")]
            public int Yearv { get; set; }

            [ParamDescription("季节")]
            public string SeasonID { get; set; }

            [ParamDescription("商品区域")]
            public string ParentAreaID { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

            [ParamDescription("颜色（已废弃）")]
            public string ColorName { get; set; }

            [ParamDescription("流行色比例")]
            public decimal PopularRate { get; set; }

            [ParamDescription("基本色比例")]
            public decimal BasicRate { get; set; }

            [ParamDescription("备注")]
            public string Remark { get; set; }

            [ParamDescription("审核状态")]
            public int CheckState { get; set; }

            [ParamDescription("审核人")]
            public string Checker { get; set; }

            [ParamDescription("修改日期")]
            public DateTime MofifyDTM { get; set; }

            [ParamDescription("允许使用")]
            public int AllowUsed { get; set; }

            [ParamDescription("抽数时间")]
            public DateTime LoadTime { get; set; }

            [ParamDescription("修改时间")]
            public DateTime EtlDate { get; set; }

        }

        #endregion

        #region ListModel

        public class ListModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("年")]
            public int Yearv { get; set; }

            [ParamDescription("季节")]
            public string SeasonID { get; set; }

            [ParamDescription("商品区域")]
            public string ParentAreaID { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

            [ParamDescription("流行色比例")]
            public decimal PopularRate { get; set; }

            [ParamDescription("基本色比例")]
            public decimal BasicRate { get; set; }

            #region 新增

            [ParamDescription("店铺编码")]
            public string ShopCode { get; set; }

            [ParamDescription("店铺名称")]
            public string ShopName { get; set; }

            [ParamDescription("季节")]
            public string SeasonName { get; set; }

            
            #endregion

        }

        #endregion

        #region UpdateModel

        public class UpdateModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("年")]
            public int Yearv { get; set; }

            [ParamDescription("季节")]
            public string SeasonID { get; set; }

            [ParamDescription("商品区域")]
            public string ParentAreaID { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

           

            [ParamDescription("流行色比例")]
            public decimal PopularRate { get; set; }

            [ParamDescription("基本色比例")]
            public decimal BasicRate { get; set; }

            #region 新增

            [ParamDescription("店铺编码")]
            public string ShopCode { get; set; }

            [ParamDescription("店铺名称")]
            public string ShopName { get; set; }

            #endregion
        }

        #endregion

        #region InsertModel

        public class InsertModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("年")]
            public int Yearv { get; set; }

            [ParamDescription("季节")]
            public string SeasonID { get; set; }

            [ParamDescription("商品区域")]
            public string ParentAreaID { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

            [ParamDescription("流行色比例")]
            public decimal PopularRate { get; set; }

            [ParamDescription("基本色比例")]
            public decimal BasicRate { get; set; }

            [ParamDescription("允许使用")]
            public int AllowUsed { get; set; }

        }

        #endregion

        public class TotalChartModel
        {
            [ParamDescription("流行色唯一码个数")]
            public int LiuxingTotal { get; set; }

            [ParamDescription("非流行色唯一码个数")]
            public int NotLiuxingTotal { get; set; }
        }

        public class ChartModel
        {
            [ParamDescription("唯一码个数")]
            public int Total { get; set; }

            [ParamDescription("名称")]
            public string Name { get; set; }
        }
    }
}
